<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>自动装载和自动卸载</title>
    <script type="text/javascript">
        function load() {
            alert('自动装载');
        }
        function unload() {
            alert('卸载');
        }
    </script>
</head>
<body onload="load()" onunload="unload()">
<a href="../ch05/5.1.html">链接</a>

</body>
</html>